package com.hksj.em.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class DeriveMetadataInfoVO {

    private static final long serialVersionUID = -1875822116911868737L;


    @ApiModelProperty("设备id")
    private String deviceId;

    @ApiModelProperty("属性名称对应name")
    private String propertyName;

    @ApiModelProperty("属性值的数据类型")
    private String dataType;

    @ApiModelProperty("属性类型(temperature、humidity等)")
    private String property;

    @ApiModelProperty("属性对应的数字值")
    private String numberValue;

    @ApiModelProperty(value = "属性值")
    private String value;

    @ApiModelProperty("更新时间")
    private String createTime;

    @ApiModelProperty("是否恢复(0=报警中 1=已恢复)")
    private Integer status;

    @ApiModelProperty("报警方式 1 = 负压(低于最小阈值的报警) 2 = 正压(高于最大阈值的报警)")
    private Integer pushType;

    @ApiModelProperty("单位key")
    private String unit;

    @ApiModelProperty("备注说明")
    private String remark;

    @ApiModelProperty("报警状态 0 = 正常  1 = 低于最小阈值的报警 2 = 高于最大阈值的报警 3 = 报警(不区分报警类型)")
    private Integer alarmStatus = 0;

    @ApiModelProperty("数据的读写状态(read-只读,write-写,report-上报)")
    private List<String> readWriteStatus;
}
